package net.jueb.frameWorkDemo.mvc4mod.bean;

import java.util.Date;

public class Account extends AbstractBean{
	
	public static enum AccountState{
		Disable,Enable
	}
	
	private int id;
	private String userName;
	private String nickName;
	private String passwd;
	private String mail;
	private Date createTime;
	private AccountState state;
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public AccountState getState() {
		return state;
	}

	public void setState(AccountState state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "Account [id=" + id + ", userName=" + userName + ", nickName=" + nickName + ", passwd=" + passwd
				+ ", mail=" + mail + ", createTime=" + createTime + ", state=" + state + "]";
	}
}
